package com.adinnet.admin.system.service;

import com.adinnet.admin.system.model.SysUserRole;
import com.adinnet.admin.system.model.vo.SysUserInfo;
import com.adinnet.admin.system.model.vo.SysUserRoleVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 用户角色关联表 服务类
 * </p>
 *
 * @author sunjianbo
 * @since 2019-05-17
 */
public interface SysUserRoleService extends IService<SysUserRole> {

    SysUserRoleVo selectRolesByUserId(Integer userId);

    List<SysUserRoleVo> getRoles(Integer userId);
}
